package cn.edu.gduf.luowowo.article.query;

import cn.edu.gduf.luowowo.common.query.QueryObject;
import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class DestinationDaysQuery extends QueryObject {

 //   private Long destId = -1L;
    private Integer dayType = -1;

    /*public String getOrderBy() {
        return orderType == 1 ? "t.createTime desc" : "t.viewnum desc";
    }*/

    public DestinationDaysCondition getDays(){
        return DestinationDaysCondition.dayTypeMap.get(dayType);
    }

/*
    public DestinationDaysCondition getThemeType(){
        return DestinationDaysCondition.themeTypeMap.get(themeType);
    }

    public DestinationDaysCondition getStrategyMonth(){
        return DestinationDaysCondition.strategyMonthTypeMap.get(strategyMonthType);
    }
*/

}
